package com.jingli.pile.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jingli.pile.entity.SupOperatorInfo;
import com.jingli.pile.service.PlatformInfoService;
import com.jingli.pile.service.QueryOperatorService;
import com.jingli.pile.service.SupOperatorInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QueryOperatorServiceImpl implements QueryOperatorService {
    @Autowired
    private SupOperatorInfoService operatorInfoService;
    @Autowired
    private PlatformInfoService platformInfoService;
    @Override
    public IPage<SupOperatorInfo> queryOperatorInfos(Integer pageNo,Integer pageSize) {
        return operatorInfoService.page(Page.of(pageNo, pageSize));
    }
}
